
pkgname=run-parts
pkgver=4.8.4
pkgrel=1
pkgdesc='Run scripts or programs in a directory'
arch=('x86_64')
url='https://packages.qa.debian.org/d/debianutils.html'
license=('GPL')
depends=('glibc')
source=("https://cdn-aws.deb.debian.org/debian/pool/main/d/debianutils/debianutils_${pkgver}.tar.xz") 
md5sums=('a6dcd496b4f79b3c452c3a74c2d3f89c')

build() {
	cd debianutils
	
	./configure --prefix=/usr
	make run-parts
}

package() {
	cd debianutils
	
	install -D -m755 run-parts ${pkgdir}/usr/bin/run-parts
	install -D -m644 run-parts.8 ${pkgdir}/usr/share/man/man8/run-parts.8
}
